﻿<%@ Page Title="" Language="C#" MasterPageFile="~/template.Master" AutoEventWireup="true"
    CodeBehind="ProgrammeList.aspx.cs" Inherits="SystemDirectory.ProgrammeList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">
        $(document).ready(function () {
            $("li").removeClass("active");
            $(".programme").addClass("active");
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="content">
        <div id="mainContainer">
            <div class="box">
                <div id="container-orglst">
                    <h3>
                        <a href="#">Programme List</a>
                    </h3>
                    <h4>
                        Filter</h4>
                    <div class="top">
                        <div class="top-left filter" style="width: 75%; float: left;">
                            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">All</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">0-9</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click">A B C D E</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton4" runat="server" OnClick="LinkButton4_Click">F G H I J</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton5" runat="server" OnClick="LinkButton5_Click">K L M N</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton7" runat="server" OnClick="LinkButton6_Click">O P Q R</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton6" runat="server" OnClick="LinkButton7_Click">S T U V</asp:LinkButton>|
                            <asp:LinkButton ID="LinkButton8" runat="server" OnClick="LinkButton8_Click">W X Y Z</asp:LinkButton>|
                        </div>
                        <div class="top-right include" style="width: 248px; display: inline; margin-bottom: 10px;
                            padding: 0; float: right; height: 36px; margin-top: 0px;">
                            <a href="/Pages/Forms/ProgrammeAdd.aspx"><input type="button" value="Create" Class="btn btn-primary" Style="width: 31%;
                                margin-right: 10px; height: 35px;"></button></a>
                            <asp:CheckBox ID="cbxInactive" Text="Include In-active" CssClass="checkbox inline"
                                runat="server" AutoPostBack="True" OnCheckedChanged="cbxInactive_CheckedChanged" />
                        </div>
                    </div>
                    <br /><br />
                    
                     <div class="div-table">
                        <asp:Repeater ID="rptContact" runat="server">
                            <HeaderTemplate>
                                <table width="100%" class="table-striped table-bordered">
                                    <thead>
                                        <tr style="background: #006dcc">
                                            <th>
                                                Programme Name
                                            </th>
                                            <th>
                                                Description
                                            </th>
                                            
                                            <th>
                                                Is Active?
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                  

                                    <td>


                                    <a href='ProgrammeDetails.aspx?id=<%#Eval("ProgrammeID") %>'>
                                            <%#Eval("ProgrammeName") %>
                                        </a>  
                                       
                                    </td>
                                    <td>
                                        <%#Eval("Description") %>
                                    </td>
                                    <td>
                                        <%#Eval("IsActive") %>
                                    </td>
                                     
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </tbody> </table>
                            </FooterTemplate>
                        </asp:Repeater>
                        <span class="pagelinks" style="float: right;">
                            
                                <asp:HyperLink ID="hplBackward" runat="server"><span class="icon icon-backward"></span></asp:HyperLink>
                            Page
                            <asp:Label ID="lblCurrent" runat="server" Text="Label"></asp:Label>
                            of 
                            <span class="nops">
                                <asp:Label ID="lblTotal" runat="server" Text="Label"></asp:Label>
                            </span> 
                            
                                <asp:HyperLink ID="hplForward" runat="server"><span class="icon icon-forward"></span></asp:HyperLink>
                        </span>
                    </div>
                    </div>
                </div>
        </div>
    </div>
</asp:Content>
